/**
 * 处方表
 * 
 */

const db = require('./index');
const Schema = db.Schema;

const DoctorPrescriptionSchema = new Schema({
    id:String,//患者ID
    project: [{}],//处方用药项目
    //drugname:药品名称
    //dosage:剂量
    //specification://规格
    //usage:用法
    collectusage: String,//处方用法
    frequency: Number,//频次
    day: Number,//服用天数
    Pharmacy: String,//取药方式
});
const DoctorPrescription = db.model('doctorprescription', DoctorPrescription);
module.exports = DoctorPrescription;